frame clock: schedule in refresh intervals
authorYariv Barkan <21448-yarivb@users.noreply.gitlab.gnome.org>
Sat, 30 May 2020 21:23:24 +0000 (00:23 +0300)
committerAlexander Larsson <alexl@redhat.com>
Fri, 5 Jun 2020 09:57:49 +0000 (11:57 +0200)
commitf5de46670b4c6bca15a015302e858b72f43498a9
treef51c913b7a88c976a976d89edacfc976d214a49e
parent91af8a705b74db6ede1a4e5f0793f44e91b1ffa4
frame clock: schedule in refresh intervals

When the application does not receive "frame drawn" signals we schedule
the clock to run more or less at intervals equal to the last known
refresh interval. In order to minimize clock skew we have to aim for
exact intervals.
gdk/gdkframeclockidle.c